#ifndef _HDR_AI_OBJECT
#define _HDR_AI_OBJECT

class AI_object;
class character;

#include <ctime>
#include "../error.h"

enum stateflag{
    AIS_running,
    AIS_interrupted,
    AIS_finished
};

class AI_object{

    protected:
        clock_t     lasteval;
        stateflag   status;

    public:
        AI_object();
        virtual void AI_exec(character* ch,clock_t now);

        virtual stateflag   getStatus();

};

#endif
